import request from '../utils/request'

// 分页查询房源列表
// data = {area:'',subway:'',rentType:'',price:'',more:null}
export const getHouseLit = ({ cityId, data, start = 1, end = 20 }) => {
  return request({
    url: 'houses',
    params: {
      cityId,
      start,
      end,
      ...data
    }
  })
}
